package io.awen.modules.sign.controller;

import io.awen.common.utils.PageUtils;
import io.awen.common.utils.R;
import io.awen.modules.sign.qo.SignVillageTownQo;
import io.awen.modules.sign.service.SignVillageTownService;
import io.swagger.annotations.Api;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;


/**
 * 泄水池信息表
 *
 * @author liu.wen
 * @email liu.wen@qq.com
 * @date 2022-08-10 00:47:08
 */
@Api(tags = {"容器"})
@RestController
@RequestMapping("sign/signVillageTown")
public class SignVillageTownController {
    @Autowired
    private SignVillageTownService signVillageTownService;

     /**
     * 列表
     */
    @RequestMapping("/list")
//    @RequiresPermissions("sign:signVillageTown:list")
    public R list(@RequestBody SignVillageTownQo qo) {
        PageUtils page = signVillageTownService.queryPage(qo);

        return R.ok().put("page", page);
    }


    /**
     * 信息
     */
//    @RequestMapping("/info/{id}")
////    @RequiresPermissions("sign:signVillageTown:info")
//    public R info(@PathVariable("id") Long id) {
//        SignVillageTownEntity signVillageTown = signVillageTownService.findVillageTown(id);
//
//        return R.ok().put("signVillageTown", signVillageTown);
//    }



}
